package cn.tedu.csmall.product.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * 图片
 *
 * @TableName pms_picture
 */
@TableName(value = "pms_picture")
@Data
@Accessors(chain = true)
public class Picture implements Serializable {


    @TableId(type = IdType.AUTO)
    private Long id;


    private Long albumId;


    private String url;


    private String description;


    private Integer width;


    private Integer height;


    private Integer isCover;


    private Integer sort;


    private LocalDateTime gmtCreate;


    private LocalDateTime gmtModified;

}